<?php
if (isset($_SERVER["HTTP_REFERER"])) {
	$goBack = "<td class='textArea' colspan='2' align='center'>( <a href='" . htmlspecialchars($_SERVER["HTTP_REFERER"]) . "'>Return</a> | <a href='" . $config['url_path'] . "logout.php'>Login Again</a> )</td>";
}else{
	$goBack = "<td class='textArea' colspan='2' align='center'>( <a href='" . $config['url_path'] . "logout.php'>Login Again</a> )</td>";
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Cacti</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<link href="<?php echo $config['url_path']; ?>include/main.css" type="text/css" rel="stylesheet">
</head>
<body>
<br><br>

<table width="450" align='center'>
<tr>
<td colspan='2'><img src='<?php echo $config['url_path']; ?>images/auth_deny.gif' border='0' alt='Access Denied'></td>
</tr>
<tr style='height:10px;'><td></td></tr>
<tr>
<td class='textArea' colspan='2'>You are not permitted to access this section of Cacti. If you feel that you
need access to this particular section, please contact the Cacti administrator.</td>
</tr>
<tr>
					<?php print $goBack;?>
				</tr>
			</table>

			</body>
</html>
